package com.wei.web.middleware.httpfilter.exceptions;

import com.wei.web.middleware.httpfilter.enums.ErrorEnum;

public class FASException extends RuntimeException {
    private ErrorEnum error;

    public FASException(ErrorEnum error) {
        super(error.getMessage());
        this.error = error;
    }

    public ErrorEnum getError(){
        return error;
    }
}
